package com.hack.qiaoqiao.serve;

import java.util.HashMap;
import java.util.Map;

import android.widget.Toast;

public class UserAccount {
	private String My_phone ;
	private String My_password;
	private Map<String,String> map = new HashMap<String,String>();
	
	public UserAccount(String phone,String password){
		// Just for Test;
		String user = "18012345678";
		String pass = "dark";
		//
		
		My_phone =phone;
		My_password = password;
		map.put(user,pass);
	}
	
	public  boolean Judge (){
		if (map.get(My_phone).equals(My_password)){
			return true;
		}
		return false;
		
	}
	
}
